package com.app.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.models.auth.In;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.sql.Timestamp;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("tb_skill_training")
@JsonInclude(JsonInclude.Include.NON_NULL)
public class SkillTrainingModel {

    @TableId(type = IdType.AUTO)
    private Integer id;
    private Integer cid;//企业id
    private String label;//培训分类
    private String company;//培训机构
    private String mobile;//培训电话

    @TableField(exist = false)
    private String trainTimeText;//培训时间

    private String transaddress;//培训地址
    private Integer state;//1待开班2已开班3已结班

    @TableField(exist = false)
    private String stateText;

    @TableField(exist = false)
    private Integer[] typeList;

    @TableField(exist = false)
    private String[] specialityList;

    private String describer;//培训描述
    @TableField(exist = false)
    private String postId;//行业
    private Timestamp crtTime;//创建时间
    private Timestamp upTime;//修改时间


    @TableField(exist = false)
    private String keyWord;
    @TableField(exist = false)
    private String startTime;
    @TableField(exist = false)
    private String endTime;
    @TableField(exist = false)
    private String timeText;
    @TableField(exist = false)
    private Integer limit;
    @TableField(exist = false)
    private Integer page;
    @TableField(exist = false)
    private List<TrainTypeConfigModel> typeConfigModelList;
    @TableField(exist = false)
    private Integer trainState;
}
